﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using QLMB.Models;
using QLMB.ViewModels;
using System.Web.Script.Serialization;
namespace QLMB.Controllers
{
    public class BaseController : Controller
    {
        //
        // GET: /Base/

        public IBookTicketRepository Repository { get; set; }

        public BaseController() : this(new BookTicketRepository())
        {
        }

        public BaseController(IBookTicketRepository repository)
        {
            Repository = repository;
        }

    }
}
